<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/mainpage_notag.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>登入</title>
<!-- InstanceEndEditable -->
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<!-- InstanceBeginEditable name="head" -->
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"> 
function refresh(){
var cap = document.getElementById("cimageframe");
cap.innerHTML = "<img src='cimage?a=" + Math.random() + "'/>";
} 
</script>
<!-- InstanceEndEditable -->

</head>
<body>
<div class="main">
  <div class="header">
    <div class="header-top">
    
      <div class="login-bg">
      <a href="login.jsp" class="black-link">登入</a><span class="style3"> |</span>
      <a href="#" class="black-link">買賣須知</a><span class="style3"> |</span>
      <a href="#" class="black-link">聯絡我們</a> <span class="style3">|</span>
      <a href="#" class="black-link">關於2HE</a>
      
      </div>
    </div>
    <div class="header-bottom">
      <div id="navcontainer">
        <ul class="navlist">
          <li class=""><a href="index.jsp">首頁</a></li>
          <li class=""><a href="#">要買</a></li>
          <li class=""><a href="AddItem.jsp?go=AddItem.jsp">要賣</a></li>
          <li class=""><a href="changeInfo.jsp?go=changeInfo.jsp">我的主頁</a></li>
          <li class=""><a href="#">我的信箱</a></li>
        </ul>
      </div>
      <!-- InstanceBeginEditable name="DoNotEdit" --><!-- InstanceEndEditable -->
    </div>
  </div>
  <div class="body-main"><!-- InstanceBeginEditable name="mainbody" -->
    <div align="center"> <span id="msg">
      <h3>Your name or password is not correct more than 3 time,<br/>
        Please input again or use the <a href="passwordrecovery.jsp">password recovery service</a>.</h3>
		</span>
      <form action='VerificationServlet' method='post'>
        <input type="hidden" name="go" value="${param.go}"/>
        <div class="username-tag" align="left"> 用戶名稱: </div>
        <div><span id="susername">
          <input name="name" type="text"  class="input-login" id="name" size="20" maxlength="10" />
          <br/>
          <span class="textfieldRequiredMsg">需要提供一个值。</span></span> </div>
        <div class="username-tag" align="left"> 密碼: </div>
        <div><span id="spassword">
          <input name="password" type="password" class="input-login" id="password" size="20" maxlength="10"/>
          <br/>
          <span class="textfieldRequiredMsg">需要提供一个值。</span></span> </div>
        <div class="username-tag" align="left"> 驗證碼: </div>
        <div><span id="sprytextfield3">
          <input name="verification" type="text" id="verification" maxlength="4" class="input-login"/>
          <br/>
          <span class="textfieldRequiredMsg">需要提供一个值。</span></span> </div>        
        <div id="cimageframe"><img src="cimage"/></div>
        <br/>
        <div align="center">
          <a onclick="refresh()">refresh</a>
          <p>
            <input name='submit' type='image' value='Login' src='images/login-bt.gif'/>
            <a href="Registration.jsp"><img src="images/sign-up-bt.gif" alt="Sign Up" width="82" height="32" border="0" /></a></p>
        </div>
      </form>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
    </div>
    <script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("susername");
var sprytextfield2 = new Spry.Widget.ValidationTextField("spassword");
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
//-->
</script>
    <!-- InstanceEndEditable --></div>
  <div class="footer">Copyright&copy; <a href="http://www.2handeasy.com" class="footer-link">二手易</a> All rights reserved.  |  版權所有不得轉載</div>
</div>
</body>
<!-- InstanceEnd --></html>
